﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace bitzhuwei.FeedingFrenzy.WorldModel
{
    public class TriTuple<T> where T : IComparable, IFormattable, IConvertible, IComparable<T>, IEquatable<T>
    {
        public T X;
        public T Y;
        public T Z;
        public TriTuple(T x, T y, T z)
        {
            // TODO: Complete member initialization
            this.X = x;
            this.Y = y;
            this.Z = z;
        }

        public override string ToString()
        {
            return string.Format("{0:f2},{1:f2},{2:f2}", X, Y, Z);
        }
    }
}
